package com.bosssoft.boss_exam_db.service.busines;

import com.bosssoft.boss_exam_db.entity.Company;
import com.bosssoft.boss_exam_db.entity.Exam;
import com.bosssoft.boss_exam_db.entity.ExamPaper;
import com.bosssoft.boss_exam_db.model.vo.*;
import com.bosssoft.boss_exam_db.service.base.BaseService;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ExamService extends BaseService<Exam> {
    PageInfo<ExamIsReleaseVO> queryByCondition(Company company, String examName, Integer page, Integer limit, String sort, String order);
    List<ExamPaper> queryExamPaperByCondition(String companyId,String groupId,String jobId, Integer examPaperLevel, Integer flag);

    List<Exam> queryExamByCompanyId(String companyId);

    List<ExamExamPaperVO> getExamAndPaperById(String examId);

//    List<ApplicantTotalScoreVO> queryExamScoreByExamId(String examId);

    List<ApplicantTotalScoreVO> queryExamScoreByExamCod(String examCode);

    List<QuestionSubjectScoreVO> queryExamScoreBySubject(String examId, String appliantId);

    List<QuestiontypeScoreVO> queryExamScoreByQuestionType(String examId, String appliantId);

    List<SubjectTotalScoreVO> queryExamTotalScoreBySubject(String examId);

    List<QuestiontypeTotalScoreVO> queryExamTotalScoreByQuestionType(String examId);
}
